import asyncio
import websockets


headers = {
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36'
    }

async def hello(uri):
    async with websockets.connect(uri, extra_headers=headers, ssl=None) as websocket:
        await websocket.send("live/m1/inplay")
        await websocket.recv()

asyncio.get_event_loop().run_until_complete(
    hello('wss://v2.push.leisu.com:8084/mqtt'))